<%@ page language="java" contentType="text/html;charset=UTF-8" %>
<%@ include file="/static/include/taglib.jsp" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html >
<html>
<head>
    <meta name="viewport" content="width=device-width"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>后台管理--机构列表</title>
    <link href="${ctxStatic}/ligeruilib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css">
    <link href="${ctxStatic}/layui/css/layui.css" rel="stylesheet"/>
    <link href="${ctxStatic}/css/kpiui.css" rel="stylesheet"/>
    <script src="${ctxStatic}/js/jquery-1.8.3.min.js?v=2.0" type="text/javascript"></script>
    <script src="${ctxStatic}/layui/layui.all.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/core/base.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerTree.js" type="text/javascript"></script>
    <script src="${ctxStatic}/ligeruilib/ligerUI/js/plugins/ligerComboBox.js" type="text/javascript"></script>
    <script src="${ctxStatic}/js/common.js" type="text/javascript"></script>
    <script src="${ctxStatic}/js/usualassessment/userusasstempld.js?v=<%=System.currentTimeMillis()%>"
            type="text/javascript"></script>
    <style>
        .l-grid-header {
            height: 56px !important
        }
        .layui-table-body layui-table-main{
            height: 475px;
        }
        .layui-form layui-border-box layui-table-view{
            height: 461px;
        }
    </style>
    <style>
        .layui-badge-dot {
            position: absolute;
            font-size: 8px;
            width: 13px;
            height: 13px;
            left: 20px
        }

        .number-text {
            position: absolute;
            color: #ffffff;
            font-size: 8px;
            left: 23px;
            display: inline-block;
            top: -5px
        }

    </style>
    <script>
        var ctxStatic = "${ctxStatic}";
        var ctx = "${ctx}";
    </script>
</head>
<body>
<div class="currentnav"><span class="tiao"></span><span class="navtitle">季度领导评分</span></div>
<div class="tabregion">
    <div class="layui-form">
        <div class="serchcontent">

            <div class="search">
                <table nostyle="true">
                    <tr>
                        <td>年份：</td>
                        <td style="width:100px">
                            <select id="year" lay-filter="year">
                                <option value="2025">2025年</option>
                                <option value="2024">2024年</option>
                                <option value="2023">2023年</option>
                                <option value="2022">2022年</option>
                                <option value="2021">2021年</option>
                                <option value="2020">2020年</option>
                                <option value="2019">2019年</option>
                                <option value="2018">2018年</option>
                                <option value="2017">2017年</option>
                            </select>
                        </td>
                        <td style="width:80px;text-align:right">季度：</td>
                        <td>
                            <c:if test="${quarter == 1}">
                                <input type="radio" name="quarter" lay-filter="quarter" value="1" title="第一季度"
                                       checked="">
                                <input type="radio" name="quarter" lay-filter="quarter" value="2" title="第二季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="3" title="第三季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="4" title="第四季度">
                            </c:if>
                            <c:if test="${quarter == 2}">
                                <input type="radio" name="quarter" lay-filter="quarter" value="1" title="第一季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="2" title="第二季度"
                                       checked="">
                                <input type="radio" name="quarter" lay-filter="quarter" value="3" title="第三季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="4" title="第四季度">
                            </c:if>
                            <c:if test="${quarter == 3}">
                                <input type="radio" name="quarter" lay-filter="quarter" value="1" title="第一季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="2" title="第二季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="3" title="第三季度"
                                       checked="">
                                <input type="radio" name="quarter" lay-filter="quarter" value="4" title="第四季度">
                            </c:if>
                            <c:if test="${quarter == 4}">
                                <input type="radio" name="quarter" lay-filter="quarter" value="1" title="第一季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="2" title="第二季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="3" title="第三季度">
                                <input type="radio" name="quarter" lay-filter="quarter" value="4" title="第四季度"
                                       checked="">
                            </c:if>
                        </td>
                        <td>姓名：</td>
                        <td style="width:120px"><input type="text" style="width:120px" class="text" id="realname"/></td>
                        <td>
                            <input type="button" class="button" value="查询" onclick="vUserUsAssTempLd.InItPage()"/>
                            <!--   <input type="button" class="button" value="填写评价" onclick="vUserUsAssTempLd.openadd()" />-->
                        </td>
                    </tr>
                </table>
            </div>
        </div>

    </div>

    <div class="layui-tab layui-tab-brief" lay-filter="tabcontent" style="margin-top:0">
        <ul class="layui-tab-title">
            <li lay-id="0" class="layui-this">部门汇总</li>
            <li lay-id="1">领导评分列表</li>
            <li lay-id="2">部门人员自评</li>
            <li lay-id="3">部门人员互评</li>
            <li lay-id="4">详情</li>
        </ul>
        <div class="layui-tab-content" style="height: 100px;">
            <div class="layui-tab-item layui-show">
                <div id="listorg"></div>
            </div>
            <div class="layui-tab-item">
                <div class="content">
                    <div id="list" class="list" lay-filter="list"></div>
                    <script type="text/html" id="operate">
                        <!--<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>


                        <a class="layui-btn layui-btn-xs" lay-event="detail">查看详情</a>
                        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>  -->

                        {{#  if(d.status!=-1){ }}
                        <img class="btn-img" src="${ctxStatic}/images/button/detail.png" lay-event="detail" alt="详情"
                             title="详情">
                        {{#  } }}
                        {{#  if(d.hpstatus==1&&d.status==-1){ }}
                        <img class="btn-img" src="${ctxStatic}/images/button/add.png" style="width:18px" lay-event="add"
                             alt="填写评价" title="填写评价">
                        {{#  } }}
                        {{#  if(d.status==0){ }}
                        <img class="btn-img" src="${ctxStatic}/images/button/tijiao.png" lay-event="tijiao" alt="提交"
                             title="提交">
                        <img class="btn-img" src="${ctxStatic}/images/index/btn_edit.png" lay-event="edit" alt="编辑"
                             title="编辑">
                        <img class="btn-img" src="${ctxStatic}/images/index/btn_delete.png" lay-event="del" alt="删除"
                             title="删除">
                        {{#  } }}

                    </script>

                    <script type="text/html" id="process">
                        {{#  if(d.zpstatus==null||d.zpstatus==0){ }}
                        <i title="自评未提交" class="layui-icon ok-fail">&#x1007;<font class="icon-font">自评</font></i>
                        {{#  } }}
                        {{#  if(d.zpstatus==1){ }}
                        <i title="自评已提交" class="layui-icon ok-circle">&#x1005;<font class="icon-font">自评</font></i>
                        {{#  } }}


                        {{#  if(d.hpstatus==null||d.hpstatus==0){ }}
                        <i title="互评未提交" class="layui-icon ok-fail">&#x1007;<font class="icon-font">互评</font></i>
                        {{#  } }}
                        {{#  if(d.hpstatus==1){ }}
                        <i title="互评已提交" class="layui-icon ok-circle">&#x1005;<font class="icon-font">互评</font></i>
                        {{#  } }}

                        {{#  if((d.ldstatus==null||d.ldstatus==0)&&d.status==-1){ }}
                        <i title="领导评分已填写" class="layui-icon ok-fail">&#x1007;<font class="icon-font">领导评分</font></i>
                        {{#  } }}

                        {{#  if((d.ldstatus==null||d.ldstatus==0)&&d.status>=0){ }}
                        <i title="领导评分已填写" class="layui-icon ok-procing">&#xe702;<font class="icon-font">领导评分</font></i>
                        {{#  } }}


                        {{#  if(d.ldstatus==1){ }}
                        <i title="领导评分已提交" class="layui-icon ok-circle">&#x1005;<font class="icon-font">领导评分</font></i>
                        {{#  } }}

                    </script>

                    <script type="text/html" id="operate1" lay-filter="operate">
                        {{#  if(d.wjcount>0){ }}
                        <a style="position: relative;" href="#"><img class="btn-img"
                                                                     src="${ctxStatic}/images/button/weijishuoming_icon.png"
                                                                     lay-event="wjsm" alt="违纪说明" title="违纪说明">
                            <span class="layui-badge-dot"></span><span class="number-text">{{ d.wjcount }}</span>
                        </a>
                        {{#  } }}

                    </script>
                    <script type="text/html" id="realnameTpl">
                        <span class="dbclickspan" ondblclick="OpenUserInfo({{ d.userid }},'{{ d.realname }}')"> {{ d.realname }}<span>
                    </script>

                </div>
            </div>



            <div class="layui-tab-item ">
                <div class="content">
                    <div id="zplist"    class="zplist" lay-filter="zplist"></div>
                    <script type="text/html" id="ZPoperate">

                        {{#  if(d.templateid !=null){ }}
                        <img class="btn-img" src="${ctxStatic}/images/button/detail.png" lay-event="detail" alt="详情" title="详情">
                        {{#  } }}



                    </script>

                    <script type="text/html" id="operate1" lay-filter="operate">
                        {{#  if(d.wjcount>0){ }}
                        <a style="position: relative;" href="#"><img class="btn-img" src="${ctxStatic}/images/button/weijishuoming_icon.png" lay-event="wjsm" alt="违纪说明" title="违纪说明">
                            <span class="layui-badge-dot"></span><span class="number-text">{{ d.wjcount }}</span>
                        </a>
                        {{#  } }}

                    </script>
                    <script type="text/html" id="realnameTpZP">
                        <span class="dbclickspan" ondblclick="OpenUserInfo({{ d.userid }},'{{ d.realname }}')"> {{ d.realname }}<span>
                    </script>

                    <script type="text/html" id="sfcjkh">
                        {{#  if(d.sfcjkh==1){ }}
                        <font style="color:red">否</font>
                        {{#  } }}
                        {{#  if(d.sfcjkh!=1){ }}
                        <font>是</font>
                        {{#  } }}
                    </script>

                    <script type="text/html" id="process1">
                        <!-- {{#  if(d.zpstatus==null||d.zpstatus==0){ }}
                            <i title="自评未提交" class="layui-icon ok-fail">&#x1007;<font class="icon-font">自评</font></i>
                         {{#  } }}
                         {{#  if(d.zpstatus==1){ }}
                           <i title="自评已提交" class="layui-icon ok-circle">&#x1005;<font class="icon-font">自评</font></i>
                         {{#  } }}-->

                        {{#  if((d.zpstatus==null||d.zpstatus==0)&&d.status==-1){ }}
                        <i title="自评未填写" class="layui-icon ok-fail">&#x1007;<font class="icon-font">自评</font></i>
                        {{#  } }}

                        {{#  if((d.zpstatus==null||d.zpstatus==0)&&d.status>=0){ }}
                        <i title="自评已填写" class="layui-icon ok-procing">&#xe702;<font class="icon-font">自评</font></i>
                        {{#  } }}


                        {{#  if(d.zpstatus==1){ }}
                        <i title="自评已提交" class="layui-icon ok-circle">&#x1005;<font class="icon-font">自评</font></i>
                        {{#  } }}

                    </script>

                </div>
            </div>
            <div class="layui-tab-item ">
                <div class="content">
                    <div id="HPlist" class="HPlist" lay-filter="HPlist"></div>
                    <script type="text/html" id="operateHP">

                        {{#  if(d.templateid !=null){ }}
                        <img class="btn-img" src="${ctxStatic}/images/button/detail.png" lay-event="detail" alt="详情" title="详情">
                        {{#  } }}

                    </script>
                    <script type="text/html" id="processHP">
                        {{#  if(d.zpstatus==null||d.zpstatus==0){ }}
                        <i title="自评未提交" class="layui-icon ok-fail">&#x1007;<font class="icon-font">自评</font></i>
                        {{#  } }}
                        {{#  if(d.zpstatus==1){ }}
                        <i title="自评已提交" class="layui-icon ok-circle">&#x1005;<font class="icon-font">自评</font></i>
                        {{#  } }}

                        {{#  if((d.hpstatus==null||d.hpstatus==0)&&d.status==-1){ }}
                        <i title="互评已填写" class="layui-icon ok-fail">&#x1007;<font class="icon-font">互评</font></i>
                        {{#  } }}

                        {{#  if((d.hpstatus==null||d.hpstatus==0)&&d.status>=0){ }}
                        <i title="互评已填写" class="layui-icon ok-procing">&#xe702;<font class="icon-font">互评</font></i>
                        {{#  } }}


                        {{#  if(d.hpstatus==1){ }}
                        <i title="互评已提交" class="layui-icon ok-circle">&#x1005;<font class="icon-font">互评</font></i>
                        {{#  } }}

                    </script>

                    <script type="text/html" id="operate2" lay-filter="operate">
                        {{#  if(d.wjcount>0){ }}
                        <a style="position: relative;" href="#"><img class="btn-img" src="${ctxStatic}/images/button/weijishuoming_icon.png" lay-event="wjsm" alt="违纪说明" title="违纪说明">
                            <span class="layui-badge-dot"></span><span class="number-text">{{ d.wjcount }}</span>
                        </a>
                        {{#  } }}

                    </script>
                    <script type="text/html" id="realnameTpl2HP">
                        <span class="dbclickspan" ondblclick="OpenUserInfo({{ d.userid }},'{{ d.realname }}')"> {{ d.realname }}<span>
                    </script>

                </div>
            </div>
            <div class="layui-tab-item">
                <div style="padding-left:10px" id="getdatadiv">
                    <iframe width="100%" height="100%" id="getdata" name="getdata" src=""
                            style="display: block;border:0;padding:0;margin:0;" frameborder="no" border="0"
                            marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes">

                    </iframe>
                </div>
            </div>
        </div>
    </div>
</div>
<input type="hidden" id="hidyear" value="${year }">

<script>
    $("#getdatadiv").height($(window).height() - 110);
</script>
</body>
</html>